
<!doctype html>
<html lang="zh-CN">

<head>
  <meta charset="<?php echo $cfg_soft_lang; ?>">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <script src="<?php echo $cfg_cmsurl;?>/static/js/jquery.min.js"></script>
  <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/bootstrap.min.css">
  <link href="<?php echo $cfg_cmsurl;?>/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/dede.css">
  <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/member.css">
  <title>邮件订阅 - 会员中心 - <?php echo $cfg_webname; ?></title>
</head>
<body>
  <?php include(DEDEMEMBER."/templets/top_login.htm"); ?>
  <div id="main">
    <div id="content" class="container">
      <?php include(DEDEMEMBER."/templets/menu.php"); ?>
      <div id="mcpmain">
        <nav class="navbar navbar-expand-lg">
          <ol class="breadcrumb mb-0 mr-auto">
            <li class="breadcrumb-item"><a href="<?php echo $cfg_memberurl;?>/">会员中心</a></li>
            <li class="breadcrumb-item">邮件订阅</li>
            </li>
          </ol>
          <span class="navbar-text">
            <a href="javascript:history.back(-1);" class="btn btn-sm">返回</a>
          </span>
        </nav>
        <ul class="nav nav-tabs">
          <li class="nav-item">
            <a class="nav-link" href="mail.php">我的订阅</a>
          </li>
          <li class="nav-item">
            <a class="nav-link active" href="mail.php?folder=drop">我要退订</a>
          </li>
        </ul>

        <form name="form2" action="mail.php" method="post" onsubmit="return checkSubmit();">
          <input type="hidden" name="dopost" value="drop" />
          <div id="mainCp">
            <div class="postForm">
              <p class="cellBg">
                <label>订阅类型：</label> </p>
               <ul class="picList">
                <?php
                  if(is_array($rows)){
              foreach($rows as $row){
                          echo "<li><input type='checkbox' name='mailtype[]' id='".$row['id']."' value='".$row['id']."' class='np' checked/> <label>".$row['typename']."</label></li>\r\n";
              }
                  }
            ?>
              </ul>
               <p>
              <button class="btn btn-success" type="submit">退订</button>
            </p>
            </div>
          </div>
        </form>
      </div>
    </div>
    <?php include(DEDEMEMBER."/templets/foot.htm"); ?>
  </div>
</body>

</html>